home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group94a.txt / 000021_icon-group-sender _Fri Jan 14 16:39:21 1994.msg < prev    next >
Internet Message Format  |  1994-08-19  |  983b

  1. Received: by cheltenham.cs.arizona.edu; Thu, 20 Jan 1994 13:34:30 MST
  2. Date: 14 Jan 94 16:39:21 GMT
  3. From: swampler@noao.edu
  4. Organization: National Optical Astronomy Observatories, Tucson AZ
  5. Subject: Re: Need help outputing to file
  6. Message-Id: <1994Jan14.163921.14999@noao.edu>
  7. References: <9401132354591.dligda.DLITE@delphi.com>, <2h5dq8$h5m@caslon.CS.Arizona.EDU>
  8. Sender: icon-group-request@cs.arizona.edu
  9. To: icon-group@cs.arizona.edu
  10. Status: R
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12.  
  13. In article <2h5dq8$h5m@caslon.CS.Arizona.EDU>, nevin@CS.Arizona.EDU (Nevin Liber) writes:
  14. |> There are ways to do this as a one-liner, such as:
  15. |> 
  16. |>     while write(out, read(in))
  17. |> 
  18. |> But it might seem more confusing at first.
  19.  
  20. No, that's not confusing.  *This* is confusing (sorry, it's friday
  21. and my brain is fried):
  22.  
  23. procedure main(args)
  24.    every write(open(args[2],"w"), !open(args[1]))
  25. end
  26.  
  27. -- 
  28. Steve Wampler
  29. swampler@noao.edu
  30. Gemini Project (under AURA)
  31.